<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of message
 *
 * @author h16pham
 */
class Message {
    //put your code here
    private $message_id;
    private $user_id;
    private $user_name;
    private $message_text;
    private $message_time;
    
    public function getMessage_id() {
        return $this->message_id;
    }

    public function getUser_id() {
        return $this->user_id;
    }

    public function getUser_name() {
        return $this->user_name;
    }

    public function getMessage_text() {
        return $this->message_text;
    }

    public function getMessage_time() {
        return $this->message_time;
    }

    public function setMessage_id($message_id) {
        $this->message_id = $message_id;
    }

    public function setUser_id($user_id) {
        $this->user_id = $user_id;
    }

    public function setUser_name($user_name) {
        $this->user_name = $user_name;
    }

    public function setMessage_text($message_text) {
        $this->message_text = $message_text;
    }

    public function setMessage_time($message_time) {
        $this->message_time = $message_time;
    }

    function __construct($message_id, $user_id, $user_name, $message_text, $message_time) {
        $this->message_id = $message_id;
        $this->user_id = $user_id;
        $this->user_name = $user_name;
        $this->message_text = $message_text;
        $this->message_time = $message_time;
    }
}
